package TemplateMethodPattern;

public class Red extends Coder {
    @Override
    public void getup() {
        System.out.println("7点起床");
    }

    @Override
    public void eat() {
        System.out.println("吃饭吃自己做的饭菜");
    }

    @Override
    public void code() {
        System.out.println("写前端代码");
    }

    @Override
    public void sleep() {
        System.out.println("10点睡觉");
    }
}
